import render1 from './component/first.js' ;
import render2 from './component/second.js' ;
import render3 from './component/third.js' ;

const router = [
    {
        path : '/first' ,
        component : render1 
    } ,
    {
        path : '/second' ,
        component : render2 
    } ,
    {
        path : '/third' ,
        component : render3
    } ,
    

    // 初始化直接进入第一个
    {
        path : '/' ,
        redirect : '/first'
    }
]

export default router ;